package com.museum.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("exhibition")
public class Exhibition {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String title;
    private String cover;
    private String description;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private Integer status;       // 0-下架，1-上架
    private Integer dailyTickets; // 每日可预约票数，默认100
    private String timeSlots;     // 可预约时间段，JSON格式
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 